WP2FA\Admin\SettingsPages\Settings_Page_Policies D

Total Complexity 130
Dependencies 12
Dependents 4
Total lines 954
Lines of code 608
Logical lines of code 288
Comment lines 262
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
validate_and_sanitize()
D
16
77 218
user_profile_settings()
B
34 13 106
render()
A
36 13 85
new_page_created()
A
48 7 32
generate_custom_user_profile_page()
S
49 5 29
update_wp2fa_network_options()
S
49 4 33
get_post_by_post_name()
S
64 4 10
disable_2fa_removal_setting()
S
53 1 29
user_redirect_after_wizard()
S
54 1 25
grace_period_setting()
S
54 1 25
select_method_setting()
S
80 1 3
select_enforcement_policy_setting()
S
80 1 3
excluded_roles_or_users_setting()
S
73 1 7
excluded_network_sites()
S
81 1 3